package net.lainiao.service.impl;

import net.lainiao.model.Admin;
import net.lainiao.service.AdminService;
import net.lainiao.service.AdminWebService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by Administrator on 2016/10/27.
 */

public class AdminWebServiceImpl implements AdminWebService {

    @Autowired
    AdminService adminService;
    @Override
    public Admin getAdmin(long adminId) {
        return adminService.getAdminById(adminId);
    }

}
